projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b375e9
)
[SHADOW] Use fast-unshadow for early_unshadow heuristic.
author
George Dunlap
<gdunlap@xensource.com>
Wed, 19 Sep 2007 10:42:05 +0000
(11:42 +0100)
committer
George Dunlap
<gdunlap@xensource.com>
Wed, 19 Sep 2007 10:42:05 +0000
(11:42 +0100)
xen/arch/x86/mm/shadow/multi.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/mm/shadow/multi.c
b/xen/arch/x86/mm/shadow/multi.c
index 82c54c52075eb7a3fb4b2ebc7604686fd8cd3401..a68c1e06e0c057d1fa7fd7634875f4a93eb9606e 100644
(file)
--- a/
xen/arch/x86/mm/shadow/multi.c
+++ b/
xen/arch/x86/mm/shadow/multi.c
@@
-2551,7
+2551,7
@@
static inline void check_for_early_unshadow(struct vcpu *v, mfn_t gmfn)
if ( !(flags & (SHF_L2_32|SHF_L2_PAE|SHF_L2H_PAE|SHF_L4_64)) )
{
perfc_incr(shadow_early_unshadow);
- sh_remove_shadows(v, gmfn,
0, 0 /* Slow
, can fail to unshadow */ );
+ sh_remove_shadows(v, gmfn,
1, 0 /* Fast
, can fail to unshadow */ );
}
}
v->arch.paging.shadow.last_emulated_mfn = mfn_x(gmfn);